//符号->图片路径
const EMOTIONS_DATA = {
    '/{weixiao': require('./emotions/weixiao.png'), /* 微笑 */
    '/{piezui': require('./emotions/piezui.png'), /* 撇嘴 */
    '/{se': require('./emotions/se.png'), /* 色 */
    '/{fadai': require('./emotions/fadai.png'), /* 发呆 */
    '/{deyi': require('./emotions/deyi.png'), /* 得意 */
    '/{liulei': require('./emotions/liulei.png'), /* 流泪 */
    '/{haixiu': require('./emotions/haixiu.png'), /* 害羞 */
    '/{bizui': require('./emotions/bizui.png'), /* 闭嘴 */
    '/{shui': require('./emotions/shui.png'), /* 睡 */
    '/{daku': require('./emotions/daku.png'), /* 大哭 */
    '/{ganga': require('./emotions/ganga.png'), /* 尴尬 */
    '/{fanu': require('./emotions/fanu.png'), /* 发怒 */
    '/{tiaopi': require('./emotions/tiaopi.png'), /* 调皮 */
    '/{ziya': require('./emotions/ziya.png'), /* 龇牙 */
    '/{jinya': require('./emotions/jinya.png'), /* 惊讶 */
    '/{jiong': require('./emotions/jiong.png'), /* 囧 */
    '/{nanguo': require('./emotions/nanguo.png'), /* 难过 */
    '/{zhuakuang': require('./emotions/zhuakuang.png'), /* 抓狂 */
    '/{tu': require('./emotions/tu.png'), /* 吐 */
    '/{faxiao': require('./emotions/faxiao.png'), /* 发笑 */

    '/{yukuai': require('./emotions/yukuai.png'), /* 愉快 */
    '/{baiyan': require('./emotions/baiyan.png'), /* 白眼 */
    '/{aoman': require('./emotions/aoman.png'), /* 傲慢 */
    '/{kun': require('./emotions/kun.png'), /* 困 */
    '/{jinkong': require('./emotions/jinkong.png'), /* 惊恐 */
    '/{liuhan': require('./emotions/liuhan.png'), /* 流汗 */
    '/{hanxiao': require('./emotions/hanxiao.png'), /* 憨笑 */
    '/{youxian': require('./emotions/youxian.png'), /* 悠闲 */
    '/{fendou': require('./emotions/fendou.png'), /* 奋斗 */
    '/{zhouma': require('./emotions/zhouma.png'), /* 咒骂 */
    '/{yiwen': require('./emotions/yiwen.png'), /* 疑问 */
    '/{xu': require('./emotions/xu.png'), /* 嘘 */
    '/{yun': require('./emotions/yun.png'), /* 晕 */
    '/{shuai': require('./emotions/shuai.png'), /* 衰 */
    '/{kulu': require('./emotions/kulu.png'), /* 骷髅 */
    '/{qiaoda': require('./emotions/qiaoda.png'), /* 敲打 */
    '/{zaijian': require('./emotions/zaijian.png'), /* 再见 */
    '/{cahan': require('./emotions/cahan.png'), /* 擦汗 */
    '/{koubi': require('./emotions/koubi.png'), /* 抠鼻 */
    '/{guzhang': require('./emotions/guzhang.png'), /* 鼓掌 */

    '/{huaixiao': require('./emotions/huaixiao.png'), /* 坏笑 */
    '/{zuohengheng': require('./emotions/zuohengheng.png'),/* 左哼哼 */
    '/{youhengheng': require('./emotions/youhengheng.png'),/* 右哼哼 */
    '/{haqian': require('./emotions/haqian.png'),/* 哈欠 */
    '/{bishi': require('./emotions/bishi.png'),/* 鄙视 */
    '/{weiqu': require('./emotions/weiqu.png'),/* 委屈 */
    '/{kuaikule': require('./emotions/kuaikule.png'),/* 快哭了 */
    '/{yinxian': require('./emotions/yinxian.png'),/* 阴险 */
    '/{qinqin': require('./emotions/qinqin.png'),/* 亲亲 */
    '/{kelian': require('./emotions/kelian.png'),/* 可怜 */
    '/{caidao': require('./emotions/caidao.png'),/* 菜单 */
    '/{xigua': require('./emotions/xigua.png'),/* 西瓜 */
    '/{pijiu': require('./emotions/pijiu.png'),/* 啤酒 */
    '/{kafei': require('./emotions/kafei.png'),/* 咖啡 */
    '/{zhutou': require('./emotions/zhutou.png'),/* 猪头 */
    '/{meigui': require('./emotions/meigui.png'),/* 玫瑰 */
    '/{diaoxie': require('./emotions/diaoxie.png'),/* 凋谢 */
    '/{zuichun': require('./emotions/zuichun.png'),/* 嘴唇 */
    '/{aixin': require('./emotions/aixin.png'),/* 爱心 */
    '/{xinsui': require('./emotions/xinsui.png'),/* 心碎 */

    '/{dangao': require('./emotions/dangao.png'),/* 蛋糕 */
    '/{zhadan': require('./emotions/zhadan.png'),/* 炸弹 */
    '/{bianbian': require('./emotions/bianbian.png'),/* 便便 */
    '/{yueliang': require('./emotions/yueliang.png'),/* 月亮 */
    '/{taiyang': require('./emotions/taiyang.png'),/* 太阳 */
    '/{yongbao': require('./emotions/yongbao.png'),/* 拥抱 */
    '/{qiang': require('./emotions/qiang.png'),/* 强 */
    '/{ruo': require('./emotions/ruo.png'),/* 弱 */
    '/{woshou': require('./emotions/woshou.png'),/* 握手 */
    '/{shengli': require('./emotions/shengli.png'),/* 胜利 */
    '/{baoquan': require('./emotions/baoquan.png'),/* 抱拳 */
    '/{gouying': require('./emotions/gouying.png'),/* 勾引 */
    '/{quantou': require('./emotions/quantou.png'),/* 拳头 */
    '/{ok': require('./emotions/ok.png'),/* OK */
    '/{tiaotiao': require('./emotions/tiaotiao.png'),/* 跳跳 */
    '/{fadou': require('./emotions/fadou.png'),/* 发抖 */
    '/{aohuo': require('./emotions/aohuo.png'),/* 怄火 */
    '/{zhuanquan': require('./emotions/zhuanquan.png'),/* 转圈 */
    '/{gaoxing': require('./emotions/gaoxing.png'),/* 高兴 */
    '/{kouzhao': require('./emotions/kouzhao.png'),/* 口罩 */

    '/{xiaoku': require('./emotions/xiaoku.png'),/* 笑哭 */
    '/{tushetou': require('./emotions/tushetou.png'),/* 吐舌头 */
    '/{shadai': require('./emotions/shadai.png'),/* 傻呆 */
    '/{kongju': require('./emotions/kongju.png'),/* 恐惧 */
    '/{beishang': require('./emotions/beishang.png'),/* 悲伤 */
    '/{buxie': require('./emotions/buxie.png'),/* 不屑 */
    '/{heiha': require('./emotions/heiha.png'),/* 嘿哈 */
    '/{wulian': require('./emotions/wulian.png'),/* 捂脸 */
    '/{jianxiao': require('./emotions/jianxiao.png'),/* 奸笑 */
    '/{jizhi': require('./emotions/jizhi.png'),/* 机智 */
    '/{zhoumei': require('./emotions/zhoumei.png'),/* 皱眉 */
    '/{ye': require('./emotions/ye.png'),/* 耶 */
    '/{guilian': require('./emotions/guilian.png'),/* 鬼脸 */
    '/{heshi': require('./emotions/heshi.png'),/* 合十 */
    '/{jiayou': require('./emotions/jiayou.png'),/* 加油 */
    '/{qingzhu': require('./emotions/qingzhu.png'),/* 庆祝 */
    '/{liwu': require('./emotions/liwu.png'),/* 礼物 */
    '/{hongbao': require('./emotions/hongbao.png'),/* 红包 */
    '/{fa': require('./emotions/fa.png'),/* 发 */
    '/{ji': require('./emotions/ji.png'),/* 鸡 */

};

//符号->中文
const EMOTIONS_ZHCN = {

    '/{weixiao': '[微笑]',
    '/{piezui': '[撇嘴]',
    '/{se': '[色]',
    '/{fadai': '[发呆]',
    '/{deyi': '[得意]',
    '/{liulei': '[流泪]',
    '/{haixiu': '[害羞]',
    '/{bizui': '[闭嘴]',
    '/{shui': '[睡]',
    '/{daku': '[大哭]',
    '/{ganga': '[尴尬]',
    '/{fanu': '[发怒]',
    '/{tiaopi': '[调皮]',
    '/{ziya': '[龇牙]',
    '/{jinya': '[惊讶]',
    '/{jiong': '[囧]',
    '/{nanguo': '[难过]',
    '/{zhuakuang': '[抓狂]',
    '/{tu': '[吐]',
    '/{faxiao': '[发笑]',

    '/{yukuai': '[愉快]',
    '/{baiyan': '[白眼]',
    '/{aoman': '[傲慢]',
    '/{kun': '[困]',
    '/{jinkong': '[惊恐]',
    '/{liuhan': '[流汗]',
    '/{hanxiao': '[憨笑]',
    '/{youxian': '[悠闲]',
    '/{fendou': '[奋斗]',
    '/{zhouma': '[咒骂]',
    '/{yiwen': '[疑问]',
    '/{xu': '[嘘]',
    '/{yun': '[晕]',
    '/{shuai': '[衰]',
    '/{kulu': '[骷髅]',
    '/{qiaoda': '[敲打]',
    '/{zaijian': '[再见]',
    '/{cahan': '[擦汗]',
    '/{koubi': '[抠鼻]',
    '/{guzhang': '[鼓掌]',

    '/{huaixiao': '[坏笑]',
    '/{zuohengheng': '[左哼哼]',
    '/{youhengheng': '[右哼哼]',
    '/{haqian': '[哈欠]',
    '/{bishi': '[鄙视]',
    '/{weiqu': '[委屈]',
    '/{kuaikule': '[快哭了]',
    '/{yinxian': '[阴险]',
    '/{qinqin': '[亲亲]',
    '/{kelian': '[可怜]',
    '/{caidao': '[菜单]',
    '/{xigua': '[西瓜]',
    '/{pijiu': '[啤酒]',
    '/{kafei': '[咖啡]',
    '/{zhutou': '[猪头]',
    '/{meigui': '[玫瑰]',
    '/{diaoxie': '[凋谢]',
    '/{zuichun': '[嘴唇]',
    '/{aixin': '[爱心]',
    '/{xinsui': '[心碎]',

    '/{dangao': '[蛋糕]',
    '/{zhadan': '[炸弹]',
    '/{bianbian': '[便便]',
    '/{yueliang': '[月亮]',
    '/{taiyang': '[太阳]',
    '/{yongbao': '[拥抱]',
    '/{qiang': '[强]',
    '/{ruo': '[弱]',
    '/{woshou': '[握手]',
    '/{shengli': '[胜利]',
    '/{baoquan': '[抱拳]',
    '/{gouying': '[勾引]',
    '/{quantou': '[拳头]',
    '/{ok': '[OK]',
    '/{tiaotiao': '[跳跳]',
    '/{fadou': '[发抖]',
    '/{aohuo': '[怄火]',
    '/{zhuanquan': '[转圈]',
    '/{gaoxing': '[高兴]',
    '/{kouzhao': '[口罩]',

    '/{xiaoku': '[笑哭]',
    '/{tushetou': '[吐舌头]',
    '/{shadai': '[傻呆]',
    '/{kongju': '[恐惧]',
    '/{beishang': '[悲伤]',
    '/{buxie': '[不屑]',
    '/{heiha': '[嘿哈]',
    '/{wulian': '[捂脸]',
    '/{jianxiao': '[奸笑]',
    '/{jizhi': '[机智]',
    '/{zhoumei': '[皱眉]',
    '/{ye': '[耶]',
    '/{guilian': '[鬼脸]',
    '/{heshi': '[合十]',
    '/{jiayou': '[加油 ]',
    '/{qingzhu': '[庆祝]',
    '/{liwu': '[礼物]',
    '/{hongbao': '[红包]',
    '/{fa': '[发]',
    '/{ji': '[鸡]',

};

const EMOTIONS_ZHCN_INVERT = {
    "[OK]": "/{ok",
    "[不屑]": "/{buxie",
    "[亲亲]": "/{qinqin",
    "[便便]": "/{bianbian",
    "[傲慢]": "/{aoman",
    "[傻呆]": "/{shadai",
    "[再见]": "/{zaijian",
    "[凋谢]": "/{diaoxie",
    "[加油 ]": "/{jiayou",
    "[勾引]": "/{gouying",
    "[发]": "/{fa",
    "[发呆]": "/{fadai",
    "[发怒]": "/{fanu",
    "[发抖]": "/{fadou",
    "[发笑]": "/{faxiao",
    "[口罩]": "/{kouzhao",
    "[可怜]": "/{kelian",
    "[右哼哼]": "/{youhengheng",
    "[合十]": "/{heshi",
    "[吐]": "/{tu",
    "[吐舌头]": "/{tushetou",
    "[咒骂]": "/{zhouma",
    "[咖啡]": "/{kafei",
    "[哈欠]": "/{haqian",
    "[啤酒]": "/{pijiu",
    "[嘘]": "/{xu",
    "[嘴唇]": "/{zuichun",
    "[嘿哈]": "/{heiha",
    "[囧]": "/{jiong",
    "[困]": "/{kun",
    "[坏笑]": "/{huaixiao",
    "[大哭]": "/{daku",
    "[太阳]": "/{taiyang",
    "[奋斗]": "/{fendou",
    "[奸笑]": "/{jianxiao",
    "[委屈]": "/{weiqu",
    "[害羞]": "/{haixiu",
    "[尴尬]": "/{ganga",
    "[左哼哼]": "/{zuohengheng",
    "[庆祝]": "/{qingzhu",
    "[弱]": "/{ruo",
    "[强]": "/{qiang",
    "[得意]": "/{deyi",
    "[微笑]": "/{weixiao",
    "[心碎]": "/{xinsui",
    "[快哭了]": "/{kuaikule",
    "[怄火]": "/{aohuo",
    "[恐惧]": "/{kongju",
    "[悠闲]": "/{youxian",
    "[悲伤]": "/{beishang",
    "[惊恐]": "/{jinkong",
    "[惊讶]": "/{jinya",
    "[愉快]": "/{yukuai",
    "[憨笑]": "/{hanxiao",
    "[抓狂]": "/{zhuakuang",
    "[抠鼻]": "/{koubi",
    "[抱拳]": "/{baoquan",
    "[拥抱]": "/{yongbao",
    "[拳头]": "/{quantou",
    "[捂脸]": "/{wulian",
    "[握手]": "/{woshou",
    "[撇嘴]": "/{piezui",
    "[擦汗]": "/{cahan",
    "[敲打]": "/{qiaoda",
    "[晕]": "/{yun",
    "[月亮]": "/{yueliang",
    "[机智]": "/{jizhi",
    "[流汗]": "/{liuhan",
    "[流泪]": "/{liulei",
    "[炸弹]": "/{zhadan",
    "[爱心]": "/{aixin",
    "[猪头]": "/{zhutou",
    "[玫瑰]": "/{meigui",
    "[疑问]": "/{yiwen",
    "[白眼]": "/{baiyan",
    "[皱眉]": "/{zhoumei",
    "[睡]": "/{shui",
    "[礼物]": "/{liwu",
    "[笑哭]": "/{xiaoku",
    "[红包]": "/{hongbao",
    "[耶]": "/{ye",
    "[胜利]": "/{shengli",
    "[色]": "/{se",
    "[菜单]": "/{caidao",
    "[蛋糕]": "/{dangao",
    "[衰]": "/{shuai",
    "[西瓜]": "/{xigua",
    "[调皮]": "/{tiaopi",
    "[跳跳]": "/{tiaotiao",
    "[转圈]": "/{zhuanquan",
    "[鄙视]": "/{bishi",
    "[闭嘴]": "/{bizui",
    "[阴险]": "/{yinxian",
    "[难过]": "/{nanguo",
    "[骷髅]": "/{kulu",
    "[高兴]": "/{gaoxing",
    "[鬼脸]": "/{guilian",
    "[鸡]": "/{ji",
    "[鼓掌]": "/{guzhang",
    "[龇牙]": "/{ziya",
}
//反转对象的键值
const invertKeyValues = obj =>
    Object.keys(obj).reduce((acc, key) => {
        acc[obj[key]] = key;
        return acc;
    }, {});

export { invertKeyValues, EMOTIONS_DATA, EMOTIONS_ZHCN, EMOTIONS_ZHCN_INVERT }